package cn.stylefeng.guns.modular.agv.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * agv库区限制
 * </p>
 *
 * @author zhangzh
 * @since 2025-07-08
 */
@TableName("agv_area_quota")
public class AgvAreaQuota implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 仓库id
     */
    @TableField("warehouse_id")
    private Long warehouseId;

    /**
     * 仓库名称
     */
    @TableField("warehouse_name")
    private String warehouseName;

    /**
     * 库区名称
     */
    @TableField("area_name")
    private String areaName;

    /**
     * AGV暂停区
     */
    @TableField("agv_pause_zone")
    private String agvPauseZone;

    /**
     * AGV限额
     */
    @TableField("agv_quota")
    private Integer agvQuota;

    /**
     * AGV当前数量
     */
    @TableField("agv_num")
    private Integer agvNum;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 创建用户
     */
    @TableField(value = "create_user", fill = FieldFill.INSERT)
    private Long createUser;

    /**
     * 修改用户
     */
    @TableField(value = "update_user", fill = FieldFill.UPDATE)
    private Long updateUser;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 备注
     */
    @TableField("remark")
    private String remark;

    @TableField("tray_zone")
    private String trayZone;

    public String getTrayZone() {
        return trayZone;
    }

    public void setTrayZone(String trayZone) {
        this.trayZone = trayZone;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(Long warehouseId) {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getAgvPauseZone() {
        return agvPauseZone;
    }

    public void setAgvPauseZone(String agvPauseZone) {
        this.agvPauseZone = agvPauseZone;
    }

    public Integer getAgvQuota() {
        return agvQuota;
    }

    public void setAgvQuota(Integer agvQuota) {
        this.agvQuota = agvQuota;
    }

    public Integer getAgvNum() {
        return agvNum;
    }

    public void setAgvNum(Integer agvNum) {
        this.agvNum = agvNum;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "AgvAreaQuota{" +
        "id=" + id +
        ", warehouseId=" + warehouseId +
        ", warehouseName=" + warehouseName +
        ", areaName=" + areaName +
        ", agvPauseZone=" + agvPauseZone +
        ", agvQuota=" + agvQuota +
        ", agvNum=" + agvNum +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", createUser=" + createUser +
        ", updateUser=" + updateUser +
        ", deptId=" + deptId +
        ", remark=" + remark +
        "}";
    }
}
